package com.arpa.oms.domain.dto;

import com.arpa.wms.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author Administrator
 */
@Data
@ApiModel(value="OmsGoodsRelationDTO对象", description="OMS商品关系")
public class OmsGoodsRelationDTO  extends BasicEntity {

    @ApiModelProperty(value = "货主code")
    private String shipmentCode;

    @ApiModelProperty(value = "货主名称")
    private String shipmentName;

    @ApiModelProperty(value = "组合商品编码")
    private String goodCode;

    @ApiModelProperty(value = "组合商品名称")
    private String goodName;

    @ApiModelProperty(value = "商品价格(下限)")
    private BigDecimal goodPriceStart;

    @ApiModelProperty(value = "商品价格(上限)")
    private BigDecimal goodPriceEnd;

    @ApiModelProperty(value = "基本单位编码code")
    private String baseUnitCode;

    @ApiModelProperty(value = "基本单位名称")
    private String baseUnitName;

    @ApiModelProperty(value = "状态，0-启用，1-停用")
    private String status;

    @ApiModelProperty(value = "库存数量")
    private BigDecimal quantity;

    @ApiModelProperty(value = "库存占用数量")
    private BigDecimal useQuantity;

    @ApiModelProperty(value = "销售价格（单位：分）")
    private BigDecimal deliveryPrice;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间(下限)")
    private LocalDateTime gmtCreatedStart;

    @ApiModelProperty(value = "创建时间(上限)")
    private LocalDateTime gmtCreatedEnd;

    @ApiModelProperty(value = "修改时间(下限)")
    private LocalDateTime gmtModifiedStart;

    @ApiModelProperty(value = "修改时间(上限)")
    private LocalDateTime gmtModifiedEnd;

    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

}
